Round = {}

local ROUND_END_DELAY_TIME = 5

function Round.Start()
	PrintMessage(HUD_PRINTTALK, "Round start")
	timer.Remove("Restart Round")
	game.CleanUpMap()
	gamemode.Call("RoundStart")
end

function Round.End()
	PrintMessage(HUD_PRINTTALK, "Round end")
	timer.Create("Restart Round", ROUND_END_DELAY_TIME, 1, Round.Start)
end

hook.Add("Goal", "Round.OnGoal", Round.End)
//hook.Add("TimeUp", "Round.OnTimeUp", Round.End)